package io.renren.modules.skate.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.common.utils.DateUtils;
import lombok.Data;

import java.util.Date;

/**
 * 俱乐部表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 3.0 2023-11-28
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class FClubExcel {
    @ExcelProperty(value = "名称", index = 0)
    private String clubName;
    @ExcelProperty(value = "负责人姓名", index = 1)
    private String username;
    @ExcelProperty(value = "电话", index = 2)
    private String phone;
    @ExcelProperty(value = "过期时间", index = 3)
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date expirationDate;
}